package com.freeLearning.boot.course.model.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.freeLearning.boot.course.model.entity.CourseAudit;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
@Data
@Schema(description = "课程审批分页 VO")
public class CourseAuditPageVO extends CourseAudit {
    @Schema(description = "课程标题")
    private String title;
    @Schema(description = "课程描述")
    private String description;
    @Schema(description = "咨询师ID")
    private Long consultantId;
    @Schema(description = "咨询师姓名")
    private String consultantName;
    @Schema(description = "课程分类ID")
    private Long categoryId;
    @Schema(description = "课程分类名称")
    private String categoryName;
    @Schema(description = "课程状态")
    private Integer status;
    @Schema(description = "开课时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
}
